Skip to content

Conversation

@the-mikedavis
Copy link
Collaborator

rabbit_amqqueue:declare/7 consults the is_enabled/0 callback of rabbit_queue_type before attempting to create a queue. rabbit_stream_manager emulates rabbit_amqqueue:declare/7 rather than calling it directly. To align with the is_enabled/0 check in rabbit_amqqueue:declare/7, rabbit_stream_manager needs to check the callback during stream creation.

This is a follow-up to #14624

`rabbit_amqqueue:declare/7` consults the `is_enabled/0` callback of
`rabbit_queue_type` before attempting to create a queue.
`rabbit_stream_manager` emulates `rabbit_amqqueue:declare/7` rather
than calling it directly. To align with the `is_enabled/0` check in
`rabbit_amqqueue:declare/7`, `rabbit_stream_manager` needs to check
the callback during stream creation.
@mkuratczyk mkuratczyk merged commit 1c264fa into main Oct 6, 2025
288 of 289 checks passed
@mkuratczyk mkuratczyk deleted the md/queue-type-enabled-streams-protocol branch October 6, 2025 22:05
mergify bot pushed a commit that referenced this pull request Oct 6, 2025
#14699)

`rabbit_amqqueue:declare/7` consults the `is_enabled/0` callback of
`rabbit_queue_type` before attempting to create a queue.
`rabbit_stream_manager` emulates `rabbit_amqqueue:declare/7` rather
than calling it directly. To align with the `is_enabled/0` check in
`rabbit_amqqueue:declare/7`, `rabbit_stream_manager` needs to check
the callback during stream creation.

(cherry picked from commit 1c264fa)
mkuratczyk pushed a commit that referenced this pull request Oct 6, 2025
#14699) (#14701)

`rabbit_amqqueue:declare/7` consults the `is_enabled/0` callback of
`rabbit_queue_type` before attempting to create a queue.
`rabbit_stream_manager` emulates `rabbit_amqqueue:declare/7` rather
than calling it directly. To align with the `is_enabled/0` check in
`rabbit_amqqueue:declare/7`, `rabbit_stream_manager` needs to check
the callback during stream creation.

(cherry picked from commit 1c264fa)

Co-authored-by: Michael Davis <[email protected]>
@michaelklishin michaelklishin added this to the 4.3.0 milestone Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants